<div class="widget am-cf">
	<div class="am-fl"><a href="javascript:void(0)" class="am-btn am-btn-primary am-btn-xs" onclick="history.go(-1);return false;"><i class="am-icon-long-arrow-left"></i> 采购验收清单</a></div>
    <div class="am-fr">
    	<a href="javascript:void(0);" class="am-btn am-btn-danger am-btn-xs" onclick="save();return false"><i class="am-icon-check"></i> 确认验收</a>
        <a href="javascript:void(0);" class="am-btn am-btn-default am-btn-xs" onclick="history.go(-1);return false;"> 取消</a>
    </div>
</div>
<style>
.am-table>tbody>tr>td{ border-top:0; padding: .1rem; padding-left:.7rem; vertical-align: middle;}
.am-form-group{ margin-bottom:0;}
.am-table-bdrs{}
.am-table-bdrs th,.am-table-bdrs td{ border-bottom:1px solid #edf1f9; font-size:12px; color:#000; line-height:25px !important;}
.am-table>tbody+tbody tr:first-child td {border-top: 1px solid #ddd;}
.am-table-bdrs thead td{ font-weight:bold; background-color:#fafafa;}
.hide{display:none}
</style>
<div style="background-color:#f2f8fa; padding:20px 20px 1px 20px; margin-bottom:15px;">
    <table class="am-table">
    	<td>{{.m.Suppliers.Name}}</td>
        <td>开票日期：{{.m.CreatedAt | getDate}}</td>
        <td>送货方式：{{index .deliverymode .m.DeliveryMode}}</td>
        <td>付款方式：{{index .paymethod .m.PayMethod}}</td>
        <td>制单人：{{.m.CreatedBy}}</td>
        <td>邮费：{{.m.Postage}}</td>
    </table>
</div>
<form class="am-form" style="padding-top:0;">
<div class="row hide">
	
    <div class="am-u-sm-12">
        <div class="widget am-cf query-form" style="padding-bottom: 4px;">
           
              <div class="am-form-group am-u-sm-3">
                  <label class="am-u-sm-3 am-form-label am-text-right" style="line-height:30px; font-weight:normal;">批号</label>
                  <div class="am-u-sm-9">
                       <input type="text" class="am-input-sm" name="contact_lens_lot_number" placeholder=""  />
                   </div> 
              </div>
              <div class="am-form-group am-u-sm-3">
                  <label class="am-u-sm-3 am-form-label am-text-right" style="line-height:30px; font-weight:normal;">生产日期</label>
                  <div class="am-u-sm-9">
                       <input type="text" class="am-input-sm" name="contact_lens_manufacture_date" data-am-datepicker readonly="readonly"/>
                   </div> 
              </div>
              <div class="am-form-group am-u-sm-4">
                  <button type="button" class="am-btn am-btn-sm am-btn-primary am-round" onclick="batch_edit('contact_lens','batch')"><i class="am-icon-file-o"></i> 批量填写</button>
                  <button type="button" class="am-btn am-btn-sm am-btn-danger am-round" onclick="batch_edit('contact_lens','clear')"><i class="am-icon-trash-o"></i> 删除填写</button>
              </div>
              <div class="am-form-group am-u-sm-2"></div>
        </div>
    </div>
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl">隐形眼镜</div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bd am-table-bdrs am-table-hover" id="contact_lens_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></th>
                                <td>商品名</td>
                                <td>球镜</td>
                                <td>柱镜</td>
                                <td width="130px">批号</td>
                                <td width="130px">生产日期</td>
                                <td width="130px">有效期至</td>
                                <td width="130px">订单数量</td>
                                <td width="130px">验收数量</td>
                                <td width="130px">&nbsp;</td>
                            </tr>
                        </thead>
                        <tbody class="query-form"></tbody>
                    </table>
                
            </div>
        </div>
   </div>
</div>
<div class="row hide">    
   
   <div class="am-u-sm-12">
        <div class="widget am-cf  query-form" style="padding-bottom: 4px;">

              <div class="am-form-group am-u-sm-3">
                  <label class="am-u-sm-3 am-form-label am-text-right" style="line-height:30px; font-weight:normal;">批号</label>
                  <div class="am-u-sm-9">
                       <input type="text" placeholder="" class="am-input-sm" name="contact_lens_care_solution_lot_number" />
                   </div> 
              </div>
              <div class="am-form-group am-u-sm-3">
                  <label class="am-u-sm-3 am-form-label am-text-right" style="line-height:30px; font-weight:normal;">生产日期</label>
                  <div class="am-u-sm-9">
                       <input type="text" data-am-datepicker class="am-input-sm" name="contact_lens_care_solution_manufacture_date" readonly="readonly"/>
                   </div> 
              </div>
              <div class="am-form-group am-u-sm-4">
                  <button type="button" class="am-btn am-btn-sm am-btn-primary am-round"  onclick="batch_edit('contact_lens_care_solution','batch')"><i class="am-icon-file-o"></i> 批量填写</button>
                  <button type="button" class="am-btn am-btn-sm am-btn-danger am-round"  onclick="batch_edit('contact_lens_care_solution','clear')"><i class="am-icon-trash-o"></i> 删除填写</button>
              </div>
              <div class="am-form-group am-u-sm-2"></div>
        </div>
   </div>
   <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl">护理产品</div>
            </div>
            <div class="widget-body  am-fr">
                   <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="contact_lens_care_solution_datatable">
                        <thead>
                            <tr>
                                <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                                <td>商品名</th>
                                <td width="130px">批号</td>
                                <td width="130px">生产日期</td>
                                <td width="130px">有效期至</td>
                                <td width="130px">订单数量</td>
                                <td width="130px">验收数量</td>
                                <td width="130px">&nbsp;</td>
                            </tr>
                        </thead>
                        <tbody id="show-50-tr"  class="query-form"></tbody>
                    </table>

            </div>
        </div>
   </div>
</div>
<div class="row hide">
    <div class="am-u-sm-12">
        <div class="widget am-cf  query-form" style="padding-bottom: 4px;">

            <div class="am-form-group am-u-sm-3">
                <label class="am-u-sm-3 am-form-label am-text-right" style="line-height:30px; font-weight:normal;">批号</label>
                <div class="am-u-sm-9">
                    <input type="text" placeholder="" class="am-input-sm" name="contact_drugs_lot_number" />
                </div>
            </div>
            <div class="am-form-group am-u-sm-3">
                <label class="am-u-sm-3 am-form-label am-text-right" style="line-height:30px; font-weight:normal;">生产日期</label>
                <div class="am-u-sm-9">
                    <input type="text" data-am-datepicker class="am-input-sm" name="contact_drugs_manufacture_date" readonly="readonly"/>
                </div>
            </div>
            <div class="am-form-group am-u-sm-4">
                <button type="button" class="am-btn am-btn-sm am-btn-primary am-round"  onclick="batch_edit('contact_drugs','batch')"><i class="am-icon-file-o"></i> 批量填写</button>
                <button type="button" class="am-btn am-btn-sm am-btn-danger am-round"  onclick="batch_edit('contact_drugs','clear')"><i class="am-icon-trash-o"></i> 删除填写</button>
            </div>
            <div class="am-form-group am-u-sm-2"></div>
        </div>
    </div>
    <div class="am-u-sm-12">
        <div class="widget am-cf">
            <div class="widget-head am-cf">
                <div class="widget-title am-fl">药品</div>
            </div>
            <div class="widget-body  am-fr">
                <table class="am-table am-table-bdrs am-table-compact am-table-hover" id="contact_drugs_datatable">
                    <thead>
                    <tr>
                        <td width="40px"><div class="checkbox"><label><input type="checkbox" class="select-all"><i></i></label></div></td>
                        <td>商品名</th>
                        <td width="130px">批号</td>
                        <td width="130px">生产日期</td>
                        <td width="130px">有效期至</td>
                        <td width="130px">订单数量</td>
                        <td width="130px">验收数量</td>
                        <td width="130px"></td>
                    </tr>
                    </thead>
                    <tbody id="show-70-tr"  class="query-form"></tbody>
                </table>

            </div>
        </div>
    </div>
</div>


</form>

